package com.iot.gateway.utils.serializer;

/**
 * 序列化接口
 *
 * @param <T>
 */
public interface DataSerializer<T> {

    String serialize(T data) throws Exception;

}
